package com.freak.wanandroid.bean;

import com.google.gson.annotations.SerializedName;

import org.litepal.crud.LitePalSupport;

import java.io.Serializable;
import java.util.List;

/**
 * @author: freak
 * @date: 2022/9/18
 */
public class SystemClassChildrenEntity extends LitePalSupport implements Serializable {
    // 0:未订阅 1：已订阅
    private int subscription;

    private List<SystemClassChildrenEntity> children;

    private int courseId;

    @SerializedName("id")
    private int mChildrenId;

    private String name;

    private int order;

    private int parentChapterId;

    private int visible;

    private String author;

    private String cover;

    private String desc;

    private String lisense;

    private String lisenseLink;

    private int type;

    private Boolean userControlSetTop;

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getLisense() {
        return lisense;
    }

    public void setLisense(String lisense) {
        this.lisense = lisense;
    }

    public String getLisenseLink() {
        return lisenseLink;
    }

    public void setLisenseLink(String lisenseLink) {
        this.lisenseLink = lisenseLink;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public Boolean getUserControlSetTop() {
        return userControlSetTop;
    }

    public void setUserControlSetTop(Boolean userControlSetTop) {
        this.userControlSetTop = userControlSetTop;
    }

    public int getSubscription() {
        return subscription;
    }

    public void setSubscription(int subscription) {
        this.subscription = subscription;
    }

    public void setChildren(List<SystemClassChildrenEntity> children) {
        this.children = children;
    }

    public List<SystemClassChildrenEntity> getChildren() {
        return this.children;
    }

    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }

    public int getCourseId() {
        return this.courseId;
    }

    public void setChildrenId(int childrenId) {
        this.mChildrenId = childrenId;
    }

    public int getChildrenId() {
        return this.mChildrenId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return this.name;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    public int getOrder() {
        return this.order;
    }

    public void setParentChapterId(int parentChapterId) {
        this.parentChapterId = parentChapterId;
    }

    public int getParentChapterId() {
        return this.parentChapterId;
    }

    public void setVisible(int visible) {
        this.visible = visible;
    }

    public int getVisible() {
        return this.visible;
    }

    @Override
    public String toString() {
        return "Children{" +
                "children=" + children +
                ", courseId=" + courseId +
                ", id=" + mChildrenId +
                ", name='" + name + '\'' +
                ", order=" + order +
                ", parentChapterId=" + parentChapterId +
                ", visible=" + visible +
                '}';
    }
}
